package com.ruoyi.mobile.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 华为健康详情数据对象 huawei_health_detail
 * 
 * @author ruoyi
 * @date 2022-09-23
 */
public class HuaweiHealthBluetoohDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer userId;

    private Integer steps;                  //'步数',

    private BigDecimal calories;            //'消耗卡路里(千卡)',

    private BigDecimal distance;            //'行走距离(m)',

    private BigDecimal height;              //'高度(分米)',

    private BigDecimal heartrate;           //'心率(次/分钟)',

    private BigDecimal restOldHeartrate;  //'旧设备的静息心率(次/分钟)',

    private BigDecimal restHeartrate;      //'静息心率(次/分钟)',

    private BigDecimal spo2;                //'血氧'

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getSteps() {
        return steps;
    }

    public void setSteps(Integer steps) {
        this.steps = steps;
    }

    public BigDecimal getCalories() {
        return calories;
    }

    public void setCalories(BigDecimal calories) {
        this.calories = calories;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }

    public BigDecimal getHeight() {
        return height;
    }

    public void setHeight(BigDecimal height) {
        this.height = height;
    }

    public BigDecimal getHeartrate() {
        return heartrate;
    }

    public void setHeartrate(BigDecimal heartrate) {
        this.heartrate = heartrate;
    }

    public BigDecimal getRestOldHeartrate() {
        return restOldHeartrate;
    }

    public void setRestOldHeartrate(BigDecimal restOldHeartrate) {
        this.restOldHeartrate = restOldHeartrate;
    }

    public BigDecimal getRestHeartrate() {
        return restHeartrate;
    }

    public void setRestHeartrate(BigDecimal restHeartrate) {
        this.restHeartrate = restHeartrate;
    }

    public BigDecimal getSpo2() {
        return spo2;
    }

    public void setSpo2(BigDecimal spo2) {
        this.spo2 = spo2;
    }

    public LocalDateTime getStartTime() {
        return startTime;
    }

    public void setStartTime(LocalDateTime startTime) {
        this.startTime = startTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

}
